package SevenPrinciples.InterfaceSegregation;

public class B implements Interface1
{
    public void operation1()
    {
        System.out.println("B 实现了 operation1");
    }

    @Override
    public void operation2()
    {
        System.out.println("B 实现了 operation2");
    }

    @Override
    public void operation3()
    {
        System.out.println("B 实现了 operation3");
    }

    @Override
    public void operation4()
    {
        System.out.println("B 实现了 operation4");
    }

    @Override
    public void operation5()
    {
        System.out.println("B 实现了 operation5");
    }
}
